#ifndef __WIFI_H__
#define __WIFI_H__
#include "stdio.h"
#include "string.h"
#include "nvs_flash.h"
#include "esp_wifi.h"
#include "esp_event.h"
#include "esp_log.h"
#include "esp_err.h"
#include "esp_smartconfig.h"
#include "data2nvs.h"
#include "stdbool.h"
void wifi_event_handler(void* event_handler_arg,esp_event_base_t event_base,int32_t event_id,void* event_data);
void wifi_init();
void wifi_smart_normal_config(bool is_first_boot);

void wifi_load_data( char *ssid, char *password);//存储配网信息
#endif